﻿using LowCoding.Common;
using LowCoding.Domain.Entity;
using LowCoding.Dto.Sys;

namespace LowCoding.Application.Sys.Module
{
    public interface ISysModuleService : IServiceBase<SysModule, SysModuleInput, SysModuleOutput, SysModuleSearchInput, string>
    {

        /// <summary>
        /// 查询单条菜单及按钮信息
        /// </summary>
        /// <param name="mdlcode"></param>
        /// <returns></returns>
        Task<object> GetSysModuleSingle(string mdlcode);

        /// <summary>
        /// 查询菜单树形列表
        /// </summary>
        /// <param name="mdltype"></param>
        /// <param name="mdlcode"></param>
        /// <param name="mdlparent"></param>
        /// <returns></returns>
        Task<List<SysModuleTreeViewDto>> GetTreeModule(SysModuleSearchInput input);

 
    }
}